---
title: "openEuler 20.03 LTS/BC Linux 21.10安装virt-install时出错，提示“Unable to find a match: virt-install”"
description: "openEuler 20.03 LTS安装virt-install时出错，提示“Unable to find a match: virt-install”"
url: "https://www.hiascend.com/document/detail/zh/Atlas%20200I%20A2/260RC1/re/virtualmachineconfiguration/configureg_0044.html"
---

# openEuler 20.03 LTS/BC Linux 21.10安装virt-install时出错，提示“Unable to find a match: virt-install”

#### 问题描述

openEuler 20.03 LTS安装virt-install时出错，提示“Unable to find a match: virt-install”

```
[root@localhost
~
]# yum install virt-install
Last metadata expiration check: 1 day, 21:45:09 ago on Wed 22 Feb 2023 10:01:15 PM CST.
No match for argument: virt-install
Error: Unable to find a match: virt-install
```


#### 解决方案

1. 使用root用户登录。
2. 在yum源中增加openEuler 22.03 LTS的地址，添加如下的字段后保存退出。

```
[22.03]
name=22.03
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
```


3. 更新yum源信息。
  yum clean all

  yum makecache

4. 重新安装virt-install。
  yum install -y virt-install

5. 删除yum源中  2
增加的内容。
6. 再次执行  3
，更新yum源信息。
